Masthead

JavaScript Outside a Browser

Node.js

Google makes extensive use of JavaScript on their servers. This is done through something called Node.js where JavaScript is run outide of a browser and in a traditional command line envrionment. Because Node.js is outside a browser, it can access files, printers, and other local devices giving it greater flexibility. There is a large and growing number of libraries available for Node.js and it is becoming more important in the GIS world. However, currently Node.js is used almost entirely in a server mode. See W3Schools for some online demos.

For Jim: remote into ESM-S26979 and go to "D:\ProjectsNodejs\Learning\StartServer.js"

Google Earth Engine

Google Earth Engine is becoming popular for remote sensing as it provides access to a huge reposbility of data and thousands of servers for processing.

You'll need to create an account at Google and then there are online tutorials to learn to use Google Earth Engine. There is an editor for creating JavaScript scripts and an excellent tutorial to get you started.

 

© Copyright 2018 HSU - All rights reserved.